package com.kgc.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
@ApiModel(value = "购物车详情")
public class ShoppingCart implements Serializable {
    private static final long serialVersionUID = 4706353971340973666L;
    @ApiModelProperty(value = "购物车id")
    private Integer id;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "购物车对象")
    private String carinfolist;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCarinfolist() {
        return carinfolist;
    }

    public void setCarinfolist(String carinfolist) {
        this.carinfolist = carinfolist == null ? null : carinfolist.trim();
    }
}